package com.example.myapplication.soaprequest.response

import org.simpleframework.xml.Element
import org.simpleframework.xml.ElementUnion
import org.simpleframework.xml.Namespace

/**
 * 请求出的结果类 result 中值为string字符串
 */
@Namespace(reference = "http://tempurl.org")
class ResultResponse {
    @field:ElementUnion(
        // 查询帐套
        Element(
            name = "accsetResult", type = String::class, required = false
        ),
        // 检验手机注册
        Element(
            name = "accsetsaasResult", type = String::class, required = false
        ),
        //  地区表
        Element(
            name = "arealistResult", type = String::class, required = false
        ),
        //  登录
        Element(
            name = "loginResult", type = String::class, required = false
        ),
        // 私有云手机验证
        Element(
            name = "getmboileclientreginfoResult", type = String::class, required = false
        ),
        // 公告标题列表
        Element(
            name = "broadcastpromptResult", type = String::class, required = false
        ),
        // 公告详细列表
        Element(
            name = "broadcastpromptxxResult", type = String::class, required = false
        ),
        // 公司公告列表
        Element(
            name = "broadcastResult", type = String::class, required = false
        ),
        // 公司公告详情
        Element(
            name = "broadcastxxResult", type = String::class, required = false
        ),
        // 签到结果
        Element(
            name = "registerwriteResult", type = String::class, required = false
        ),
        // 客户信息
        Element(
            name = "clientlistResult", type = String::class, required = false
        ),
        // 个人日程
        Element(
            name = "rcpromptlistResult", type = String::class, required = false
        ),
        // 个人日程详情
        Element(
            name = "rcpromptxxResult", type = String::class, required = false
        ),
        // 保存个人日程详情
        Element(
            name = "rcpromptsaveResult", type = String::class, required = false
        ),
        // 删除
        Element(
            name = "deldataResult", type = String::class, required = false
        ),
        // 计划列表
        Element(
            name = "getjhblistResult", type = String::class, required = false
        ),
        // 计划详情
        Element(
            name = "getjhbxxResult", type = String::class, required = false
        ),
        // 预约拜访
        Element(
            name = "jhrwyybfResult", type = String::class, required = false
        ),
        // 售后拜访
        Element(
            name = "jhrwshhfResult", type = String::class, required = false
        ),
        // 字典
        Element(
            name = "datadictResult", type = String::class, required = false
        ),
        // 区域
        Element(
            name = "areatypelistResult", type = String::class, required = false
        ),
        // 客户管理列表
        Element(
            name = "jhrwzdyResult", type = String::class, required = false
        ),
    )
    var result: String = ""
}